<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<c:set var="ctx" value="${pageContext.request.contextPath }"></c:set>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title>个人信息</title>
    <link rel="stylesheet" href="${ctx }/css/framework/bootstrap.min.css">

    <link rel="stylesheet" type="text/css" href="${ctx }/css/com.css">
    <link rel="stylesheet" href="${ctx }/css/user.css">

</head>

<body>
<c:import url="nav.jsp"></c:import>
         <div class="center">
            <div class="container-fluid" style="margin-top:100px">
                <div class="row">
                    <div class="col-md-3 user-bar">
                        <div class="u-user-info">
                        	<c:if test="${empty(userInfo.head_photo) }">
                            	<img src="${ctx }/images/defaulthead.png"  class="avator">
                            </c:if>
                            <c:if test="${!empty(userInfo.head_photo) }"  >
                            	<img src="${userInfo.head_photo }" class="avator">
                            </c:if>
                            <h4>${userInfo.login_name }</h4>
                        </div>
                        <ul class="list">


                        </ul>
                    </div>
                    <div class="col-md-9 main-bar">
                        <form class="form-horizontal mt-20">
                        
                            <div class="form-group ">
                               <label for="telphone" class="col-sm-2 control-label">姓名
                                </label>
                                <div class="col-sm-6">
                                	<span style="padding-top: 7px;display: inline-block;">
                                	${userInfo.user_name }
                                	</span>
                                  	
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="telphone" class="col-sm-2 control-label">电话
                                </label>
                                <div class="col-sm-6">
                                <span style="padding-top: 7px;display: inline-block;">
                                    ${userInfo.phone }
                                    </span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="email" class="col-sm-2 control-label">邮箱
                                </label>
                                <div class="col-sm-6">
                                <span style="padding-top: 7px;display: inline-block;">
                                    ${userInfo.mail }
                                    </span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="address" class="col-sm-2 control-label">地址
                                </label>
                                <div class="col-sm-6">
                                <span style="padding-top: 7px;display: inline-block;">
                                    ${userInfo.address }
                                    </span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="school" class="col-sm-2 control-label">学校
                                </label>
                                <div class="col-sm-6">
                                <span style="padding-top: 7px;display: inline-block;">
                                   ${userInfo.university }
                                   </span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="year" class="col-sm-2 control-label">毕业年份
                                </label>
                                <div class="col-sm-6">
                                <span style="padding-top: 7px;display: inline-block;">
                                    ${userInfo.graduate_year }年
                                    </span>
                                </div>
                            </div>
                            <div class="form-group">
                                <label for="profile" class="col-sm-2 control-label">个人简介
                                </label>
                                <div class="col-sm-6">
                                <span style="padding-top: 7px;display: inline-block;">
                                    	 ${userInfo.profile }
                                    	 </span>
                                </div>
                            </div>
                            
                        </form>
                    </div>
                </div>
            </div>
        </div>
  
</body>

</html>